﻿@page "/vaccinedeliveryrecord"
@using BootstrapBlazorApp.Shared.Models
@attribute [TabItemOption(Text = "VaccineDeliveryRecord")]
<PageTitle>疫苗发货</PageTitle>
<Button Text="添加疫苗发货" OnClickWithoutRender="@ShowDialog" />
<Divider></Divider>
<div class="table-users scroll">
    <Table TItem="VaccineDeliveryRecordModel" IsPagination="true" PageItemsSource="@PageItemsSource"
    RenderMode="TableRenderMode.Table" ShowExtendButtons="true" 
             IsStriped="true" IsBordered="true" UseInjectDataService="true" OnQueryAsync="OnQueryAsync"
             OnSaveAsync="@OnSaveAsync" OnDeleteAsync="@OnDeleteAsync">
        <TableColumns>
            <TableColumn @bind-Field="@context.PurchaseCompanyName" Width="220" />
            <TableColumn @bind-Field="@context.PurchaseDate" Width="80" />
            <TableColumn @bind-Field="@context.VaccineName" />
            <TableColumn @bind-Field="@context.Qty" Width="80" />
            <TableColumn @bind-Field="@context.BatchCode" />
            <TableColumn @bind-Field="@context.ProductionDate" Width="80" />
            <TableColumn @bind-Field="@context.ValidDate" />
            <TableColumn @bind-Field="@context.VaccineBatchQty" Width="80" />
            <TableColumn @bind-Field="@context.DeliveryDate" />
        </TableColumns>
    </Table>
</div>




